<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\modules\borrowers\models\Borrower */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="borrower-form">

    <?php $form = ActiveForm::begin(); ?>

    <div class="col-sm-4">
    <?= $form->field($model, 'userName')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'englishName')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'nickName')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'custSeqNo')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'birthday')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'tel')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'fax')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'webSite')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'province')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'city')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'county')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'billAddress')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'billPostCode')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'customerStatus')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'intention')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'accountStatus')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'accountDate')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'isDeleted')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'identityNo')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'education')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'gender')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'duty')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'companyName')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'customerMantainUser')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'customerAuth')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'comments')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'signContractDate')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'contractNo')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'createTime')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'createUser')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'updateTime')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'updateUser')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'owner')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'borrowerFrom')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'incomes')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'borrowAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'borrowMonth')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'customerLevel')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'customerType')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'paymentDay')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'auditAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'auditMonth')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'borrowerSeqNo')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'transferedUser')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'transferedDate')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'contractAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'payedMonth')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'isDelayed')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'paymentAmtByMonth')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'delayedNextPaymentDay')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'homeAddress')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'nextMonth')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'delayedMonth')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'job')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'borrowPurpose')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'signContractAddress')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'delayedAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'delayedMonthAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'fangkuanBankName')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'fangkuanBankCode')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'borrowerCustomerType')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'windAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'pactAddress')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'identityAddress')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'fangkuanTime')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'aheadPaymentDate')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'isBorrowerRedeem')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'riskStatus')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'tapeAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'fengxianjin')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'jieqingTime')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'tiqianhuankuanAmt')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'userName2ND')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'phone2ND')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'identityNo2ND')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'caiwukoukuanDate')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'team')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'Souce')->textInput(['maxlength' => true]) ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'IsGuarantee')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'IsPawn')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'Grade')->textInput() ?>
</div>
<div class="col-sm-4">
    <?= $form->field($model, 'GroupId')->textInput() ?>
</div>
    <div class="form-group-butons">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
